package com.swpu.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.swpu.project.common.BaseResponse;
import com.swpu.project.model.dto.data.DataEntityDto;
import com.swpu.project.model.entity.Secondary;
import com.swpu.project.model.page.PageQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author swpuyanxiegroup1
 * @since 2024-07-29
 */
public interface ISecondaryService extends IService<Secondary>{

    BaseResponse addData(DataEntityDto dataEntityDto);

    BaseResponse updateData(Secondary secondary);

    BaseResponse querySecondary();

    BaseResponse pageQuery(PageQuery pageQuery);
}
